x86: quark: Fix unused warnings
authorTom Rini <[email protected]>
Sat, 27 Jan 2018 20:13:47 +0000 (15:13 -0500)
committerBin Meng <[email protected]>
Tue, 30 Jan 2018 14:34:38 +0000 (22:34 +0800)
commitd0c0752addcb82fbc74c43842a58cca34d22de00
tree1a9e67f18b24c6cba6d3ebb8a59b057838ea47c0
parentca92ad4f6899cf37e69661f91dd49711b2ec09c7
x86: quark: Fix unused warnings

The variable t_rfc is never used, so drop it.  The variables ddr_wctl
and ddr_wcmd are only used in certain manual instances, so guard their
declaration by the same check as their use.

Cc: Bin Meng <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Tested-by: Bin Meng <[email protected]>
arch/x86/cpu/quark/smc.c